package com.app.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ym_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserModel {
   @TableId(type = IdType.AUTO)
   private Integer id;
   private String userName;
   private String realName;
   private String mobile;
   private String openId;
   private String faceUrl;
   private Timestamp crtTime;
   private Timestamp upTime;

   private String data;
   @TableField(exist = false)
   private String keyWord;
   @TableField(exist = false)
   private Integer page;
   @TableField(exist = false)
   private Integer limit;
   @TableField(exist = false)
   private Integer scare;
   @TableField(exist = false)
   private String crtTimeText;

}
